import * as PIXI from 'pixi.js'
export default (textureSource: PIXI.TextureSource) => {
  // 背景
  const sprite = new PIXI.Sprite(
    new PIXI.Texture({
      source: textureSource,
      frame: new PIXI.Rectangle(14, 1030, 453, 1011),
    }),
  )
  sprite.anchor.set(0.5, 0)
  return sprite
}
